// <copyright file="SearchStatus.cs" company="Sinclair Community College">
// Copyright (c) Sinclair Community College. All rights reserved.
// </copyright>

namespace SinclairCC.AppVSuite.DuplicateRootDetector
{
    using System;

    /// <summary>
    /// Represents the status of a search operation.
    /// </summary>
    public class SearchStatus
    {
        /// <summary>
        /// A status message to be displayed to the user.
        /// </summary>
        private string message;

        /// <summary>
        /// Initializes a new instance of the SearchStatus class.
        /// </summary>
        /// <param name="message">
        /// The message string that the user will see.
        /// </param>
        public SearchStatus(string message)
        {
            this.message = message;
        }

        /// <summary>
        /// Gets or sets the status message text.
        /// </summary>
        public string StatusMessage
        {
            get { return this.message; }
            set { this.message = value; }
        }
    }
}
